ChooseEditorForPart
TheChooseEditorForPart
method chooses the editor to be used to edit the specified part.
ODEditor ChooseEditorForPart (in ODStorageUnit thePartSU, in ODType newKind);
thePartSU
- A reference to the part's storage unit.
newKind
- If the specified part is a new part being created, its part kind; otherwise
kODNULL
.- return value
- An opaque platform-specific value specifying the chosen part editor.
DISCUSSION
This method is called by the container suite. The document shell, container applications, and parts cannot call this method.This method chooses the appropriate editor for the specified part based on the editors that are installed on the machine and the part kind of the specified part. For a new part that is being created, the specified storage unit is empty and the
newKind
parameter specifies the part kind. For a part that exists, the storage unit contains the part kind(s).SEE ALSO
TheODEditor
type (page 929).
TheODType
type (page 876).
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help